TargetMacOS Constant

Used to indicate that you are compiling code for any Macintosh OS, "classic" or Mac OS X in either the Mach-O or PEF formats.

result=TargetMacOS

PartTypeDescription
result Boolean Returns True if you are compiling code for any Mac OS, either as a standalone application or within REALbasic.


Notes

TargetMacOSClassic, and TargetCarbon are mutually exclusive subsets of TargetMacOS. TargetMacOSClassic is True only if PPC code is running on a PowerPC under a 'classic' Mac OS.


See Also

DebugBuild, RBVersion, RBVersionString, TargetBigEndian, TargetCarbon, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMacOSClassic, TargetMachO, TargetWin32 constants; #If statement.